<%@ page contentType="text/html; charset=UTF-8"%>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
<title>无标题文档</title>
<link href="/admin/include/images/main.css" rel="stylesheet" type="text/css" />
</head>

<body>
<div id="left">
	<div id="left_menu"></div>
	<div id="left_tree">
		<div id="tree_icon">
			<div id="yh" onclick="ChangeBack1()"><img src="/admin/include/images/system.gif" />网站管理</div>
			<div id="system" onclick="ChangeBack2()"><img src="/admin/include/images/user.gif" />系统管理</div>
		</div>
		<div id="tree_text">
			<li class="tree_li">
				<span class="list_img">
					<img src="/admin/include/images/list_img.gif" />
				</span>
				<a href="/admin/include/column/columnList.seam" target="contentFrame" class="select" onclick="left_btn(0)">栏目管理</a> 
				<span class="list_img">
					<img src="/admin/include/images/list_img.gif" />
				</span>
				<a href="/admin/include/article/list.jsp" target="contentFrame" onclick="left_btn(1)">文章管理</a>
			</li>
			<li class="tree_li">
				<span class="list_img">
					<img src="/admin/include/images/list_img.gif" />
				</span>
				<a href="/admin/include/column/add.jsp" target="contentFrame" class="select" onclick="left_btn(0)">增加栏目</a> 
				<span class="list_img">
					<img src="/admin/include/images/list_img.gif" />
				</span>
				<a href="/admin/include/article/list.jsp" target="contentFrame" onclick="left_btn(1)">文章管理</a>
			</li>
		</div>
		<div id="tree_system" style="display: none">
			<li class="tree_li">
				<span class="list_img">
					<img src="/admin/include/images/list_img.gif" />
				</span>用户属性 
				<span class="list_img">
					<img src="/admin/include/images/list_img.gif" />
				</span>修改密码
			</li>
			<li class="tree_li">
				<span class="list_img">
					<img src="/admin/include/images/list_img.gif" />
				</span>用户查询  
				<span class="list_img">
					<img src="/admin/include/images/list_img.gif" />
				</span>数据统计
			</li>
			<li class="tree_li">
				<span class="list_img">
					<img src="/admin/include/images/list_img.gif" />
				</span>访问记录  
				<span class="list_img">
					<img src="/admin/include/images/list_img.gif" />
				</span>操作日志
			</li>
		</div>
		
	</div>
	<div id="tree_down"></div>
</div>
</body>
</html>
<script  language="JavaScript"  type ="text/javascript">
function ChangeBack1()
{
	document.getElementById('tree_icon').style.backgroundImage = "url(/admin/include/images/main_12.gif)";
	document.getElementById("tree_system").style.display="none";
	document.getElementById("tree_text").style.display="";
}
function ChangeBack2()
{
	document.getElementById('tree_icon').style.backgroundImage = "url(/admin/include/images/main_22.gif)";
	document.getElementById("tree_system").style.display="";
	document.getElementById("tree_text").style.display="none";
}

function left_btn(n){	
	var a_num=document.getElementById("tree_text").getElementsByTagName("a");	
	for(i=0;i<a_num.length;i++)	{		
		a_num[i].className=i==n?"select":""; 	
	}
}

</script>